Fix: Corrected SQL mistake + changed pending message.