Found another place to change realized -> completed

Extended API tests + fixed task search filter malfunctionining