Fixed placement of pending check