Prevented invalid bedroom number being set