Fixed bug in boardModel.moveCard and added sanity check in same function.