Knowing the landing gear of the Q400 it isn't really surprising that the gear did retract.
During two years on the Q I've seen green lownlock lights with the gear firmly up, landing gear doors opening and closing by turning the tiller, even wheels driven through closed gear doors.
The logic controlling the gear must be a weird piece of kit.