Fixed bug with not registering errors properly when attempting to change selection.