Adding status filter to search api