Ahmadi children released on bail after six months imprisonment.

Wooooooooow! If Ahmadis are believing in Muhammad Ibne Abdullah (SAW) as a last messenger and prophet, then why they were declared non muslims by Pakistani Parliament, after hearing thoroughly to both sides??????