Bamboo REST API: Filtering failed build results

We tried using the following endpoind to list the latest failed builds only: rest/api/latest/result.json?expand=results.result&buildstate=Failed . However, for each plan, it lists the previous build that failed, even though there were successfull builds AFTER that failed build.

Is there a way to list only results where the build has failed and is the latest build?