Hello Aarohi,
You are very correct in your reasoning that this behaviour should be classified as a Bug. In SAP we encounter such things very often. Often I manage this way. If suitable Notes are present it is nothing like that. I do not exactly remember the specifics, but it often happens while using the FMs.
Best Regards
KJogeswaraRao