fixes issues with queen and bishop moves when they return an empty list