Fixed bug with not filtering state from callback URL