Added POST filtering queries from header.php