Fixed a small bug with null move