Changed to use slug only for querying post