Fixed some bugs preventing rejection.