It sounds as if the wire to the oil pressure sender is shorting out to the ground. Perhaps you knocked the wire, the electrical terminal on the sender or the sender itself, when you were changing the filter.
Try wiggling the sender wire and terminal, and tapping the sender lightly, to see if that makes a difference. If not, you may have a bad sender there.