Thanks a lot for your answers. I don't know why, but it still doesn't work in my project. Nevertheless after my hopeless trying how to fix it, I found out, that I don't even need current() function to achieve good result. Instead of a problem-formula in my filter I putted simple Operation_type value from my primary data source and believe or not, It works :-)
If you want, I can upload my form somewhere, to allow you to check why your advice didn't work for me. It could be helpfull for another people having troubles with similar case.